chore: upgrade react-email to ^6.1.4#1206
Conversation
Bump `react-email` from `^5.2.10` to `^6.1.4` in the web package. react-email 6 bundles the preview server into the main package and drops its Next.js dependency, so `@react-email/preview-server` and the `@react-email/preview-server/next` resolution override are no longer needed. Net `yarn.lock` impact is -302 MiB. Also bumped the `esbuild` root resolution from `^0.27.3` to `^0.28.0` since react-email 6 requires the matching host/binary, and bumped the satellite ranges on `@react-email/components` (`^1.0.2` -> `^1.0.12`) and `@react-email/render` (`^2.0.0` -> `^2.0.8`). Smoke tested with `yarn workspace @sourcebot/web build` (Next.js compile passes) and `yarn dev:emails` (preview server boots clean at 6.1.4). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
WalkthroughThis PR upgrades the react-email ecosystem from v5 to v6.1.4 across root and web packages, bumps esbuild and brace-expansion versions in the root devDependencies, removes ChangesReact-email and Build Tool Dependency Upgrades
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Removed the mention of dropping the separate @react-email/preview-server devDependency in the changelog.
License Audit
Weak Copyleft Packages (informational)
Resolved Packages (11)
|
Summary
react-emailfrom^5.2.10to^6.1.4in@sourcebot/web.@react-email/preview-serveris removed from devDependencies along with the now-obsolete@react-email/preview-server/nextresolution override. Netyarn.lockimpact: -302 MiB.esbuildresolution bumped^0.27.3->^0.28.0to match whatreact-email6 ships its binary at (otherwise:Host version "0.28.0" does not match binary version "0.27.7"). The original esbuild resolution was a dedup convenience (chore: deduplicate esbuild via resolution #1118), not a CVE pin, and the tree stays deduped at a single version.@react-email/components^1.0.2->^1.0.12,@react-email/render^2.0.0->^2.0.8.Test plan
yarn installsucceeds andyarn.lockshows a singleesbuild@0.28.0resolutionyarn workspace @sourcebot/web buildcompiles successfully against the new versions (the pre-existingOrgRole.GUESTtypecheck failure onmainis unrelated)yarn dev:emailsboots the preview server:React Email 6.1.4 ... Ready in 0.1s🤖 Generated with Claude Code
Summary by CodeRabbit
react-email(v6.1.4),esbuild, and related packages to latest versions.